//
//  FS_MyChangrSexViewController.m
//  FS_iOS
//
//  Created by 马田成 on 2017/7/4.
//  Copyright © 2017年 qianyi. All rights reserved.
//

#import "FS_MyChangrSexViewController.h"

@interface FS_MyChangrSexViewController ()
@property (weak, nonatomic) IBOutlet UIImageView *imageNan;
@property (weak, nonatomic) IBOutlet UIImageView *imagrNv;

@end

@implementation FS_MyChangrSexViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"性别";
    if ([self.sexNum isEqualToString:@"男"]) {
        self.imagrNv.hidden = YES;
    }else {
    
        self.imageNan.hidden = YES;
        
    }
    
    // Do any additional setup after loading the view from its nib.
}
- (IBAction)nanButtonClick:(UIButton *)sender {
    
    [self.delegate getNum:@"男"];
    
    
    [self.navigationController popViewControllerAnimated:YES];
    
    
}
- (IBAction)nvButtonClick:(UIButton *)sender {
    
    [self.delegate getNum:@"女"];
 //   [self dismissViewControllerAnimated:YES completion:nil];
    [self.navigationController popViewControllerAnimated:YES];
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
